package com.scuvc.entity;

public class CarInfo {
    private Long id ;
    private String carNo ;
    private BrandInfo brand ;
    private ModelInfo model ;
    private CategoryInfo category ;
    private String displacement ;
    private Long price ;
    private Double car_amount ;
    private Long deposit ;
    private Integer status ;
    private Integer usable ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public BrandInfo getBrand() {
        return brand;
    }

    public void setBrand(BrandInfo brand) {
        this.brand = brand;
    }

    public ModelInfo getModel() {
        return model;
    }

    public void setModel(ModelInfo model) {
        this.model = model;
    }

    public CategoryInfo getCategory() {
        return category;
    }

    public void setCategory(CategoryInfo category) {
        this.category = category;
    }

    public String getDisplacement() {
        return displacement;
    }

    public void setDisplacement(String displacement) {
        this.displacement = displacement;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Double getCar_amount() {
        return car_amount;
    }

    public void setCar_amount(Double car_amount) {
        this.car_amount = car_amount;
    }

    public Long getDeposit() {
        return deposit;
    }

    public void setDeposit(Long deposit) {
        this.deposit = deposit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUsable() {
        return usable;
    }

    public void setUsable(Integer usable) {
        this.usable = usable;
    }

    @Override
    public String toString() {
        return "CarInfo{" +
                "id=" + id +
                ", carNo='" + carNo + '\'' +
                ", brand=" + brand +
                ", model=" + model +
                ", category=" + category +
                ", displacement='" + displacement + '\'' +
                ", price=" + price +
                ", car_amount=" + car_amount +
                ", deposit=" + deposit +
                ", status=" + status +
                ", usable=" + usable +
                '}';
    }
}
